<!-- 导航URL -->
<div class="row wrapper border-bottom white-bg page-heading">
	<div class="col-md-12">
		<ol class="breadcrumb">
			<li><a href="index.html">主页</a></li>
			<li><a>功能管理</a></li>
			<li class="active"><strong>功能控制开关</strong></li>
		</ol>
	</div>
</div>
<!-- 主要内容 -->
<div class="wrapper wrapper-content animated fadeIn" ng-controller="switchCtrl">
	<form class="form-horizontal" id="form-cjtGoods-query">
		<div class="row">
			<div class="col-lg-12">
				<div class="panel-body ibox float-e-margins">
					<div class="ibox-title">
						<h5>功能控制开关查询</h5>
					</div>
					<div class="ibox-content">
						<div class="form-group">
							<label class="col-sm-2 control-label">功能编号：</label>
							<div class="col-sm-2">
								<input type="text" class="form-control" ng-model="baseInfo.functionNumber">
							</div>
							<label class="col-sm-2 control-label">功能是否开启：</label>
							<div class="col-sm-2">
								<select class="form-control" ng-options="x.value as x.text for x in functionSwitchListAll"
										ng-model="baseInfo.functionSwitch"></select>
							</div>
							<label class="col-sm-2 control-label">功能名称：</label>
							<div class="col-sm-2">
								<select name="autocomplete-select" id="autocomplete-select" ng-model="baseInfo.functionName"
										ng-options="x.functionName as x.functionName for x in functionManagerListAll" style="width: 100%" chosen chosen-data="functionManagerListAll" >
								</select>
							</div>
						</div>
						<div class="form-group">
							<label class="col-sm-2 control-label">开关分类：</label>
							<div class="col-sm-2">
								<select class="form-control" ng-options="x.value as x.text for x in functionTypeListAll"
										ng-model="baseInfo.functionType"></select>
							</div>
						</div>

						<div class="form-group" style="margin-top: 30px">
							<label class="col-sm-2 control-label"></label>
							<div class="col-sm-8">
								<button class="btn btn-primary6 btn-mr20"  ng-click="query()" ng-disabled="submitting">查询</button>
								<button class="btn btn-primary3 btn-mr20" type="button" ng-click="resetForm()">清空</button>
							</div>
						</div>
					</div>
				</div>

				<div class="panel-body ibox float-e-margins">
					<div class="ibox-title">
						<h5>功能控制</h5>
					</div>
					<div class="ibox-content">
						<div class="tposition">
							<div class="gridStyle" ui-grid="switchTable"  ui-grid-pagination ui-grid-resize-columns ui-grid-pinning></div>
							<div ng-show="loadImg" class="timg"></div>
						</div>
					</div>
				</div>
				<div style="height:30px;"></div>
			</div>
		</div>
	</form>

	<div style="height: 30px;"></div>
</div>